Apparatus and method for providing streaming content

ABSTRACT

A method and apparatus for an adaptive Hypertext Transfer Protocol (HTTP) streaming service using metadata of media content are provided. The media content may include a sequence of one or more periods. The metadata may include a start time attribute and/or a duration attribute of each of the periods. The metadata may determine a start time of each of the periods, and a start time of each of segments included in each of the periods. A terminal may access segments included in each of the periods, may decode and render data of media content included in the segments, and may play back the media content.

The present application is a continuation of U.S. patent application Ser. No. 13/824,995 filed on Mar. 18, 2013 with the United States Patent and Trademark Office, which is a U.S. national stage patent application of PCT/KR2011/007387 filed on Oct. 6, 2011, which claims priority to Korean patent application number 10-2011-0100706 filed on Oct. 4, 2011 with the Korean Intellectual Property Office, which claims priority to U.S. provisional patent applications: 61/390,328 filed on Oct. 6, 2010; 61/405,674 filed on Oct. 22, 2010; 61/414,462 filed on Nov. 17, 2010; 61/417,931 filed on Nov. 30, 2010; and 61/434,036 filed on Jan. 19, 2011 with the United States Patent and Trademark Office.

TECHNICAL FIELD

The present invention relates to a technology for providing streaming content, and more particularly, to an apparatus and method for providing media content using adaptive streaming.

BACKGROUND ART

Streaming is one of schemes for transmitting and playing back multimedia content such as sounds, moving images, and the like. A client may play back content while receiving the content through the streaming.

An adaptive streaming service refers to providing a streaming service employing a communication scheme with a request of a client and a response of a server in response to the request.

The client may request a media sequence suitable for an environment of the client (for example, a transmission channel of the client), using the adaptive streaming service. The server may provide a media sequence matched to the request of the client among media sequences with various qualities that are included in the server.

The adaptive streaming service may be provided based on various protocols.

A Hypertext Transfer Protocol (HTTP) adaptive streaming service refers to an adaptive streaming service provided based on an HTTP protocol. A client of the HTTP adaptive streaming service may receive content from a server using the HTTP protocol, and may transmit a request associated with a streaming service to the server.

DISCLOSURE OF INVENTION Technical Goals

An aspect of the present invention provides an apparatus and method that may play back media including a sequence of one or more periods, using segments that are classified for each period.

Another aspect of the present invention provides an apparatus and method that may use metadata that represents a start time attribute and/or a duration attribute of each of one or more periods, to play back media including a sequence of the one or more periods.

Technical Solutions

According to an aspect of the present invention, there is provided a method for providing media, the method including: receiving metadata of media, the metadata including one or more periods; accessing segments of the media based on information provided by the metadata; and decoding and rendering data of the media that is included in the segments, wherein each of the periods includes one or more representations of the media, and wherein each of the representations starts from a beginning point of a period and continues to an ending point of the period, and includes one or more segments.

The metadata may be a Media Presentation Description (MPD) of the media.

Each of the periods may be defined by a period element.

The period element may include a start attribute indicating a start time of a period.

The period element may include a duration attribute indicating a duration of a period.

The duration attribute may specify a start time of a period subsequent to the period.

The start time of the period may determine a start time of each of segments included in the period.

The period element may include a reference attribute indicating a reference to an external period element, and each of the periods may be defined by the external period element.

According to another aspect of the present invention, there is provided a terminal, including: an access engine to receive metadata of media, to receive segments of the media based on information provided by the metadata, and to decode data of the media that is included in the segments, the metadata including one or more periods; and a media engine to receive the data of the media from the access engine, and to output the media, wherein each of the periods includes one or more representations of the media, and wherein each of the representations starts from a beginning point of a period and continues to an ending point of the period, and includes one or more segments.

Effect of the Invention

According to embodiments of the present invention, it is possible to use segments included in each of one or more periods, to play back media including a sequence of the one or more periods.

Additionally, according to embodiments of the present invention, it is possible to use metadata that represents a start time attribute and/or a duration attribute of each of one or more periods, to play back media including a sequence of the one or more periods.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a signal flowchart illustrating a content processing method according to an embodiment of the present invention.

FIG. 2 is a diagram illustrating categories of signaling information according to an embodiment of the present invention.

FIG. 3 is a diagram illustrating a hierarchy of content division and levels of signaling information according to an embodiment of the present invention.

FIG. 4 is a diagram illustrating detection of virtual boundaries in a Moving Picture Experts Group-2 Transport Stream (MPEG-2 TS) according to an embodiment of the present invention.

FIG. 5 is a diagram illustrating a configuration of a client according to an embodiment of the present invention.

BEST MODE FOR CARRYING OUT THE INVENTION

Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. The embodiments are described below in order to explain the present invention by referring to the figures.

A Dynamic Adaptive Streaming over HTTP (DASH) may specify formats that enable 1) delivery of media content from an HTTP server to an HTTP client, and enable 2) caching of content by standard HTTP cashes.

A media component may be an encoded version of individual media types, such as audios, videos, or timed texts with specific attributes, for example bandwidths, languages, or resolutions.

Media content may be a set of media components having a common timeline, for example audios, videos, or timed texts. Additionally, media components may have relationships on how the media components may be presented (for example, individually, jointly, or mutually exclusive) as programs or movies.

Hereinafter, media content, media, and content may be used as interchangeable terms.

A media presentation (or media) may be a structured collection of data used to establish bounded or unbounded presentation of media content including components of continuous media.

In other words, the media presentation may be a structured collection of data that is accessible to a DASH client in order to provide a streaming service to a user.

A Media Presentation Description (MPD) may be a formalized description for a media presentation.

The media presentation may be described by an MPD including possible updates of the MPD.

Content may be content on demand, or live content.

The content may be divided into one or more intervals. In other words, the content may include one or more intervals.

Hereinafter, intervals may be interchangeable with periods. The term period may be used as a term in 3^(rd) Generation Partnership Project (3GPP) adaptive HTTP streaming. In other words, a period may be an interval of a media presentation. A continuous sequence of all periods may constitute the media presentation.

In other words, the media presentation may include one or more periods. Alternatively, the media presentation may include a sequence of one or more periods.

One or more intervals may be a basic unit. One or more intervals may be described by signaling metadata. In other words, metadata may describe each of the one or more intervals.

The metadata may be an MPD.

The MPD may define a format to announce resource identifiers for segments. The MPD may provide a context for identified resources within the media presentation. The resource identifiers may be HTTP-Uniform Resource Locators (URLs). URLs may be restricted by a byte range attribute.

Each interval may be divided into segments. Hereinafter, segments may be interchangeable with fragments. The term segment may be used as a term of 3GPP adaptive HTTP streaming.

A segment may refer to an entity body of a response to an HTTP/1.1 GET request for an HTTP-URL, for example as defined in RFC 2616, (or a GET request for a part indicated by a byte range).

A terminal may play back media content using received bytes (namely, a segment).

A sub-segment may refer to a smallest unit within segments that may be indexed by a segment index at the segment level.

Two or more sets of fragments corresponding to a single interval may exist. Each of the sets may be called an alternative.

An alternative may be interchangeable with a representation (or an expression).

Each period may include one or more groups.

Each group may include one or more representations of the same media content. Accordingly, each period may include one or more representations of media content.

Hereinafter, groups may be interchangeable with adaptation sets.

A representation may refer to a structured collection of one or more media components within a single period. In other words, a representation may be one of alternative choices of a complete set or subset of media content components forming media content during a defined period. A representation may include one or more media streams. Each of the media streams may be an encoded version of a single media content component.

A representation may start from a beginning point of a period (namely, a period including the representation), and may continue to an ending point of the period.

A representation may be one of alternative choices of the media content or a subset of the media content typically differing by the encoding choice, for example by a bitrate, a resolution, a language, a codec, and the like.

An MPD (or an MPD element) may provide descriptive information that enables a client to select one or more representations.

A Random Access Point (RAP) may be a specific location in a media segment. The RAP may be identified as a location in which playback may be started continuously from a location of the RAP using only information included in a media segment.

Each representation may be formed of one or more segments. In other words, a representation may include one or more segments.

An MPD may be a document including metadata required to a DASH client to form appropriate HTTP-URLs in order to 1) access segments and to 2) provide a user with a streaming service. The HTTP-URLs may be absolute or relative.

The MPD may be an Extensible Markup Language (XML)-document.

The MPD may include an MPD element. The MPD may include only a single MPD element.

FIG. 1 is a signal flowchart illustrating a content processing method according to an embodiment of the present invention.

A terminal 100 may be a DASH client.

The DASH client may be compatible with a client specified in RFC 2616.

The DASH client may typically use an HTTP GET method or an HTTP partial GET method, as specified in RFC 2616, to access segments or parts of segments.

A server 110 may perform hosting on DASH segments. The server 110 may be compatible with a server specified in RFC 2616.

In operation 120, the terminal 100 may receive metadata of media (or content) from the server 110. In other words, the server 110 may transmit the metadata of the media to the terminal 100. The media may include one or more periods.

The metadata may include BaseURL elements. One or more BaseURL elements may be provided.

In operation 130, the terminal 100 may process the received metadata. In operation 130, the terminal 100 may extract information provided by the metadata, or information included in the metadata.

In operations 140 through 150, the terminal 100 may access a segment of the media based on the information provided by the metadata.

Each of the periods may include one or more groups, and each of the groups may include one or more representations of the media. In other words, each of the periods may include the one or more representations of the media. Accordingly, each of the representations may start from a beginning point of a period including each of the representations, and may continue to an ending point of the period. Each of the representations may include one or more segments.

Each of the periods may be defined by a period element.

The period element may include a start attribute indicating a start time of a period. Additionally, the period element may include a duration attribute indicating a duration of a period.

To specify a start time of a first period among one or more periods, the following methods 1) through 3) may be applied. Hereinafter, a second period may be subsequent to the first period.

Method 1): When a start attribute exists in a first period element of the first period, a start time of the first period may be equivalent to a value of the start attribute.

Method 2): When a start attribute does not exist in the first period element of the first period, and when a second period element of the second period includes a duration attribute, the start time of the first period may be obtained by adding a value of the duration attribute of the second period element to a start time of the second period. Accordingly, a duration attribute of a period may specify a start time of a period subsequent to the period.

Method 3): When a start attribute does not exist in the first period element of the first period, and when the first period is the first of the one or more periods, the start time of the first period may be 0.

The period element may include a reference attribute indicating a reference to an external period element. A period may be defined by the external period element.

In operation 140, the terminal 100 may send a request for a segment of the media to the server 110 using a URL of the segment. The URL may be resolved with respect to one of the above-described BaseURL elements. For example, the URL of the segment may be generated based on a BaseURL element.

The terminal 100 may request the server 110 to transmit a segment suitable for a specific interval based on the processed metadata. In other words, the requested segment may be selected based on the metadata. The terminal 100 may perform the HTTP GET method, to request the server 110 to transmit the segment.

The metadata may include a range attribute. The request may include a request for bytes of a resource indicated by a URL that are designated by the range attribute.

The URL of the segment may be an absolute URL or a relative URL.

Identical segments may be accessible at multiple locations indicated by URLs resolved with respect to the respective BaseURL elements. In other words, identical segments may be selectively accessible by the URLs provided by the BaseURL elements.

Additionally, a first BaseURL element among the BaseURL elements may be used as a basic Universal Resource Indicator (URI), and BaseURL elements other than the first BaseURL element may be used as alternative BaseURL elements.

The metadata may selectively include a sourceURL attribute of the segment. When the metadata selectively includes the sourceURL attribute of the segment, a BaseURL element among the BaseURL elements may be mapped to the sourceURL attribute, so that the URL of the segment may be generated.

In operation 145, in several cases, the server 110 may need to parse content (for example, a Moving Picture Experts Group (MPEG) layer 4 (MP4) file for Scalable Video Coding (SVC)), and may extract a data part suitable for the requested segment.

In operation 150, the server 110 may transmit, to the terminal 100, segments suitable for each request from the terminal 100. The terminal 100 may receive the segments from the server.

In operation 160, the terminal 100 may perform decoding and rendering on data of the media included in the segment, to play back the media.

A start time of a period may determine a start time of each of segments included in the period. Accordingly, to play back media using segments, the terminal 100 may determine a playback time based on a start time of a period including the segments.

The terminal 100 may play back the media using the received segments by repeating operations 120 through 160.

Here, a BaseURL element may include an MPD level BaseURL element of an MPD, and a period level BaseURL element of each period. The period level BaseURL element may refer to a BaseURL element applied to a period to which the period level BaseURL element belongs. In other words, a URL of a segment included in each period may be resolved with respect to the period level BaseURL element.

One or more MPD level BaseURL elements may be provided, and one or more period level BaseURL elements may be provided.

Additionally, the BaseURL element may further include a group level BaseURL element of a group. A URL of a segment included in each group may be resolved with respect to the group level BaseURL element. One or more group level BaseURL elements may be provided.

The BaseURL element may further include a representation level BaseURL element of a representation. A URL of a segment included in each representation may be resolved with respect to the representation level BaseURL element.

A BaseURL element of a specific level may be resolved with respect to a BaseURL element of a higher level. For example, a period level BaseURL element may be resolved with respect to an MPD level BaseURL element. A group level BaseURL element may be resolved with respect to a period level BaseURL element. A representation level BaseURL element may be resolved with respect to a group level BaseURL element or a period level BaseURL element.

FIG. 2 is a diagram illustrating categories of signaling information according to an embodiment of the present invention.

The signaling information (namely, metadata) may be divided into the following categories 1) through 4):

1) General information 210: includes common description of content, and general description of each interval, such as a duration, and a start time.

2) Quality of Service (QoS) information 220: describes characteristics of each alternative, such as a bitrate, a resolution, and a quality. In other words, the QoS information describes characteristics of each of alternatives of content.

An alternative may be physical (namely, created in advance), or may be virtual (namely, to be created on the fly). Based on information of alternatives, the client may select a fragment of an appropriate alternative. Accordingly, adaptivity to contexts of terminals and networks may be supported.

3) Mapping information 230: describes locations to retrieve content. Depending on specific cases, different alternatives may have the same or different locations.

4) Client request 240: this type of signaling information may conform to a format of HTTP 1.1 request message. As shown in FIG. 1, parameters requested by the client may be derived from the information of categories 1) through 3).

FIG. 3 is a diagram illustrating a hierarchy of content division and levels of signaling information according to an embodiment of the present invention.

Signaling of metadata according to an embodiment of the present invention may be physically separated into content-level information 310, interval-level information 320, QoS information 330, and mapping information 340. Linking of related parts of the content-level information 310, the interval-level information 320, the QoS information 330, and the mapping information 340 may be performed by reference.

These parts of signaling information may be combined in different ways to support the flexibility.

For example, when only the content-level information 310 and interval-level information 320 are sent to a client, all computations for deciding alternatives and resolving locations may be performed by a server. Accordingly, when only the content-level information 310 and interval-level information 320 are sent to the client, a processing model may be “server-based.”

When the content-level information 310, the interval-level information 320, and the QoS information 330 are sent to the client, all computations for deciding alternatives and resolving locations may be distributed and performed by the client and the server. Accordingly, when the content-level information 310, the interval-level information 320, and the QoS information 330 are sent to the client, the model may be “distributed.”

When all the signaling information (namely, the content-level information 310, the interval-level information 320, the QoS information 330, and the mapping information 340) is sent to the client, the model may be client-based, because most (or all) processing (namely, computations for deciding alternatives and resolving locations) is performed by the client.

The separation of metadata parts may enable efficiency in storage and delivery. For example, during a session, metadata of the content-level information 310 may be sent once, and only the interval-level information 320 may be periodically updated. Similarly, a single file containing the QoSInfo 330 may be used for different intervals and different contents.

There are different ways to represent a set of metadata, for example XML, pseudo-code, a Session Description Protocol (SDP), and the like.

In embodiments of the present invention, both XML and pseudo-code may be used to represent signaling syntax. XML syntax may be used for clients that support an XLM profile based on an MPEG-21 and similar schema. On the other hand, pseudo-code syntax may be based on a “language” of an International Organization for Standardization (ISO) base media file format and the like, and may be used in non-XML clients. In particular, a profile of the pseudo-code syntax may employ a parsing module similar to a parsing module of file-format parsing. To design the syntax for the above purpose, a table of common elements may be defined and elements in each format may be represented, in the following embodiments.

The proposed syntax may be represented by any other languages.

Hereinafter, tables of general syntax elements will be described.

In the column of occurrence, “0 . . . N” may mean that the number of instances of an occurrence element may be from 0 to “unbounded.” The minimum occurrence of 0 may mean that an element may be optional (namely, not present). A minimum occurrence equal to or greater than 1 may mean that an element is mandatory in the syntax.

Occurrence may be interchangeable with cardinality.

In a row of type, A indicates an attribute, and E indicates an element. In a row of optionality, M indicates mandatory, and O indicates optional. For attributes, M indicates mandatory, O indicates optional, OD indicates optional with default value, and CM indicates conditionally mandatory. For elements, elements may be represented as <minOccurs> . . . <maxOccurs>. Here, N may be unbounded.

The above meaning may equally be applied to other tables in the present specification.

Additionally, QoSInfo may be also called AdaptationInfo to make QoSInfo more specific. Moreover, a few elements may be revised to increase flexibility of the syntax.

The following Table 1 describes general information.

TABLE 1 XML Pseudo- syntax code (based on (File Occurr- MPEG- format ence Semantics 21) box) HttpStr 1 Describes the top-level element of HttpStream- ‘htps’ signaling metadata for HTTP ingType box streaming General 0 . . . N Contains the general information of GeneralIn- ‘geni’ Info the described content foType box Time- 0 . . . 1 Describes the number of time units integer unsigned Scale in 1 second. int(32) This value is used with time-related elements, when a time unit is not specified. LiveStart 0 . . . 1 If LiveStartTime element is not dateTime unsigned Time present, the content is of VoD type. int(64) The presence of LiveStartTime element indicates a live content that is to be displayed at a time value of LiveStartTime. If LiveStartTime has a time value of 0, the display time is unknown. Duration 0 . . . 1 If present, indicates duration of the integer unsigned content. Otherwise, the duration is int(32) unknown. DefaultInt- 0 . . . 1 If present, indicates a default integer unsigned Duration duration of each interval of the int(32) content. MinUpdate 0 . . . 1 If present, indicates the minimum integer unsigned Time waiting time before requesting the int(32) main description file again. Consistent- 0 . . . 1 If true, indicates that QoS boolean flag of QoSInfo information is the same as the the whole content duration. box Default 0 . . . 1 Provides a default location for the anyURI string Content content. of Loc URL Intervals- 0 . . . N Provides reference to description Intervals ‘iref’ Ref containing one or more instances of RefType box Interval element. One or more instances of Interval element represent a sequence of consecutive interval(s). Interval 0 . . . N Provides information of an interval Interval- ‘intv’ of content. Type box The information of the interval may be either included as an instance of Interval element or referenced by IntervalsRef element. Interval- 0 . . . 1 Provides general information of an IntervalInfo- ‘inti’ Info interval. Type box QoSInfo 0 . . . 1 Provides reference to description dia:Refer- ‘qref’ Ref represented by QoSInfo element. enceType box If QoSInfoRef element is present, QoSInfo element may not be present at the same level. QoSInfo 0 . . . 1 Provides information about QoSInfo- ‘QoSi’ alternatives of content, such as Type box resource characteristics and quality/utility. If QoSInfo element is present, QoSInfoRef element may not be present. Mapping- 0 . . . 1 Provides reference to description dia:Refer- ‘mref’ InfoRef represented by MappingInfo enceType box element. If MappingInfoRef element is present, MappingInfo element may not be present at the same level. Mapping- 0 . . . 1 Provides information about Mapping- ‘mapi’ Info locations of content alternatives. InfoType box If the information is not provided, DefaultContentIntLoc element (if not, DefaultContentLoc) can be used to retrieve content. If MappingInfo element is present, MappingInfoRef element may not be present. NextIntervals- 0 . . . 1 Provides reference to information of Intervals ‘nref’ Ref next interval(s). RefType, box The information of next interval(s) may be is description containing one or extended more instances of Interval element. from The information of next interval(s) dia:Refer- is description represented by enceType Interval element. Using NextIntervalsRef element, the client does not need to reload the main description represented by HttpStr element. Within the current time window, only the final interval may contain NextIntervalsRef element. Previous- 0 . . . 1 Provides reference to information of Intervals ‘nref’ Intervals- previous interval(s). RefType, box Ref The information of next interval(s) may be is description containing one or extended more instances of Interval element. from Using PreviousIntervalsRef dia:Refer- element, the client does not need to enceType reload the main description represented by HttpStr element. Within the current time window, only the first interval may contain NextIntervalsRef element.

The following Table 2 describes IntervalsRef, NextIntervalsRef, PreviousIntervalsRef, QoSInfoRef, MappingInfoRef a, and IntervalInfo.

TABLE 2 XML syntax Pseudo- (based on code (File Occurrence Semantics MPEG-21) format box) QoSInfoRef, MappingInfoRef Index 1 Indicates the order (starting from 1) not unsigned of the referenced description or box applicable int(8) (Interval, QoSInfo, MappingInfo) in the description file referenced by the next Location element. Location 1 Provides reference to description uri element in string represented by Interval, QoSInfo, or dia:ReferenceType (representing MappingInfo. url) IntervalInfo TimeScale 0 . . . 1 Describes the number of time units in integer unsigned one second. This value is used with int(32) time-related elements, when a time unit is not specified. TimeScale element, if present, overrides the time scale provided by GeneralInfo. StartTime 0 . . . 1 Indicates the start time of the interval. Duration 0 . . . 1 Indicates the duration of the interval. integer unsigned int(32) DefaultFragDuration 0 . . . 1 Indicates the default duration of integer unsigned fragments of the interval (except the int(32) last fragment). DefaultContentIntLoc 0 . . . 1 Provides a default location for the anyURItype string content interval. Last 0 . . . 1 If true, indicates the final interval of boolean by flag the content. IntervalsRef, PreviousIntervalsRef NextIntervalRef startTime Indicates the start time of the xs:duration referenced sequence of intervals/periods relative to the start time of the content (LiveStartTime for live content and 0 for on-demand content). AvailableTime 0 . . . 1 Indicates the time the description of integer unsigned the next interval is available. The is int(32) the relative time from the start time of the content. Index 1 Indicates the order (starting from 1) not unsigned of the referenced interval description applicable int(8) (or box) in the description file referenced by the next Location element. Location 1 Provides reference to description file sx:anyURI string that contains Interval descriptions. type or (representing uri element in url) dia:ReferenceType

The following Table 3 describes the QoSInfo element.

XML Pseudo- syntax code (based on (File Occurr- MPEG- format ence Semantics 21) box) QoSInfo- ‘QoSi’ QoSInfo 1 Provides information about a list of Type box content alternatives, such as containing resource characteristics and a quality/utility. Utility- Function of dia: Adaptive QoSType ClassScheme 0 . . . 1 Provides a list of classification dia: ‘csmr’ Ref schemes. Descrip- box The classification schemes provide tion Meta- semantics for some terms or dataType names. scheme 1 . . . N Provides reference to a Attr. a url classification scheme. alias & string href in dia: Descrip- tion Meta- dataType (1) Resource 0 . . . N Each instance of Resource element Element ‘resi’ describes, for a list of alternatives, constraint box characteristic values of a certain of resource type (e.g., bitrate). dia:UF dataType in DIA Utility- Function- Type (2) Adapta- 0 . . . N Each instance of dia:UF ‘adpo’ tionOpera- AdaptationOperator element Data- box tor describes, for a list of alternatives, Type values of a certain adaptation type (e.g., remove temporal layers). (3) Utility 0 . . . N Each instance of Utility element dia:UF ‘util’ describes, for a list of alternatives, Data- box values in a certain quality/utility Type type (e.g., MOS). Utility- 0 . . . 1 Describes the quality ranking for a dia:Util- ‘utir’ Rank list of alternatives. ityRank box Type Value 1 . . . N Indicates the quality/utility rank of integer unsigned an alternative. int(16) The number of instances of Value element is equal to the number of alternatives.

The following Table 4 shows common semantics of (1) Resource, (2) AdaptationOperator, and (3) Utility of Table 3.

TABLE 4 Pseudo- code Element XML syntax (File (1), (2), (based on format (3) Semantics MPEG-21) box) Name 1 Describes an identifier for a Att. unsigned certain type of the element. ‘iOPinRef’, int(32) When the identifier is not ref. a CSterm semantically defined by the above embodiment, next three elements are used to find semantics of the identifier in a classification scheme. CSref_ind 0 . . . 1 Indicates the reference index of a Not unsigned classification scheme in the list applicable int(16) provided by ClassSchemeRef element. LevelNum 0 . . . 1 Indicates the number of levels. Not unsigned applicable int(16) LevelIndex 1 . . . N Each instance of LevelIndex Not unsigned element represents an index value applicable int(16) at a level of the classification scheme. Value 1 . . . N Indicates the value of a resource a component in unsigned type (adaptation operator, or dia:VectorDataType int(32) utility) of an alternative. The number of instances of Value element is equal to the number of alternatives.

The following Table 5 shows mapping information.

TABLE 5 Pseudo- code XML syntax (File (based on format Occurrence Semantics MPEG-21) box) MappingInfo 0 . . . 1 MappingInfoType ‘mapi’box AlterLocID 0 . . . 1 Provides a location ID for each dia:IntegerVectorType ‘aloc’ alternative described in QoSInfo. box If AlterLocID element is not present, the first location in the location list may be used for all alternatives. Value 1 . . . N Indicates a location ID for an integer unsigned alternative. int(16) The number of instances of this element is equal to the number of alternatives. The n^(th) instance of Value element corresponds to the n^(th) alternative of QoSInfo description. ReqQoSPara 0 . . . N Indicates a parameter of QoSInfo ReqQoSParaType ‘reqp’ that may be put in the request (for that extends box an alternative) sent by the client to dia:BooleanVectorType the server. A parameter may be an instance of Resource, AdaptationOperator, Utility, or UtilityRank elements. RefIndex 1 Indicates instance index/reference represented unsigned in the instance list of Resource, by attribute int(16) AdaptationOperator, Utility and ‘iOPinRef’ that UtilityRank elements. references an IOPin in QoSInfo All 1 If true, the parameter needs to be boolean flag requested for all alternatives and ReqFlag may be skipped. ReqFlag 0 . . . N Each instance of ReqFlag element component unsigned corresponds to an alternative. of int(8) If ReqFlag is true, the request for BooleanVectorType the corresponding alternative has the parameter identified above. LocationList 1 Provides a list of locations for LocationListType ‘locl’ retrieving content alternatives box Location 1 . . . N Provides information of a location LocationType ‘loca’ box

Semantics of Location elements may be further provided as shown in Table 6.

TABLE 6 Pseudo- XML syntax code Occurrence Semantics (based on DIA) (MP4) Location 0 . . . N LocationType ‘loca’ box LocID 1 Indicate an ID of an instance of integer unsigned Location element. Location int(16) element is referred to by AlterLocID. StrLocation 0 . . . N Provides location information StrLocationType ‘stlo’ of a stream of a content box interval. Each stream is provided by either a stream URL or a number of fragment URLs. FragNum 0 . . . 1 Provides the number of integer unsigned fragments int(16) StreamUrl 0 . . . 1 Describes a URL of a stream anyURItype string FragmentUrl 0 . . . N Describes a URL of a fragment. anyURItype string The number of instances of FragmentUrl element is the number of fragments. FragTime 0 . . . 1 Provides durations of dia:VectorDataType ‘frtm’ fragments. box Value 1 . . . N Indicates a duration of a integer unsigned fragment. int(32) The number of instances of Value element is the number of fragments. RandAccess 0 . . . 1 Describes fragments that dia:VectorDataType ‘rdac’ support random access. box Value 1 . . . N Indicates the order of a random- integer unsigned access fragment. int(16) MP2TSPara 0 . . . 1 Describes additional parameters MP2TSParaType ‘mp2p’ (beside URL) for locating a box content/program in a MPEG-2 TS. PID 0 . . . N Describes values of PIDs of integer unsigned content/program in a MPEG-2 int(16) TS. FragBoundaries 0 . . . 1 Describes boundaries of FragBooundariesType ‘frbd’ (virtual) fragments in a stream. box The number of instances of FragBoundaries element is equal to the number of fragments of the stream. Only one type of following elements is present in a FragBoundaries instance. MP2TSBoundary 0 . . . N Describes parameters for MP2TSBoundaryType ‘mp2b’ detecting (virtual) fragment box boundary in a MPEG-2 TS. If there are two instances of MP2TSBoundary element, the two instances are starting and ending boundaries of a fragment. If there is only one instance of MP2TSBoundary element, the instance is the starting boundary. The ending boundary is right before the starting boundary of the next fragment. ISOFileBoundary 1 . . . 2 Describes parameters for ISOFileBoundaryType ‘isfb’ detecting (virtual) fragment box boundary in a file based on ISO base media file format. If there are two instances of ISOFileBoundary element, the two instances are starting and ending boundaries of a fragment. If there is only one instance of ISOFileBoundary element, the instance is the starting boundary. The ending boundary is right before the starting boundary of the next fragment. ByteRanges 1 Describes byte ranges that ByteRangesType ‘brag’ identify a part/fragment of a box file. Parameters provided by ByteRanges element may be used for byte range options in an HTTP request.

Semantics of MP2TSBoundary, ISOFileBoundary, and ByteRanges may be further provided as shown in Table 7.

TABLE 7 XML syntax Pseudo- (based on code Occurrence Semantics DIA) (MP4) MP2TSBoundary MP2TSBoundaryType ‘mp2b’ box PCR_PID 1 Describes PID carrying PCR of the integer unsigned concerned content/program. int(16) PCR_base 1 Describes a value of a PCR base long unsigned field int(40) PCR_ext 1 Describes a value of a PCR integer unsigned extension field. int(16) Appearance 1 Describes the appearance order integer unsigned (e.g., 1^(st), 2^(nd)) of the TS packet int(16) containing the PCR value identified by the above two elements. If there is resetting/discontinuity of PCR, a PCR value may appear more than once during an interval. Media_PID 1 . . . N Describes PID of a media (e.g., integer unsigned video) of a program. int(16) The number of instances of Media_PID element is equal to the number of media of the program/content. Media_Offset 1 . . . N Describes the offset (in TS packets integer unsigned of the same media PID) from the int(16) above identified PCR packet to the first media packet of a fragment. The n^(th) instance of Media_Offset is associated with the n^(th) instance of Media_PID. ISOFileBoundary ISOFileBoundaryType ‘isfb’ box SequenceNo 1 Describes the sequence number integer unsigned provided in the mfhd box. int(16) The mfhd box defines a fragment of an MP4 file. SequenceNo with a value of 0 indicates the beginning of the file. ByteRanges ByteRangesType ‘brag’ box Start 1 . . . N Describes the starting value of a integer unsigned byte range. int(32) A value of ‘−1’ means that this value in the HTTP request is missing. End 1 . . . N Describes the ending value of a byte integer unsigned range. int(32) A value of ‘−1’ means that this value in the HTTP request is missing. Start-End instances are present in pair. The n^(th) instance of End is associated with the n^(th) instance of Start. Media_PID 0 . . . N Describes PID of a media (e.g., integer unsigned video) that needs to be extracted int(16) from the byte range of the above pair of Start-End. Media_PID element is used when the byte range is a segment of MPEG-2 TS, and all PIDs do not need to be delivered.

Signaling of metadata obtained by a client may include different parts or levels of signaling information. Accordingly, a request from the client to a server may include parameters of different levels of details.

Main parameters of the client may be URIs, and may be associated with a query part.

Three main scenarios are examined as follows:

1) Server-Based Scenario

In the server-based scenario, the metadata provided from the server to the client may include general content information 310 and general interval information 320.

For an URI of requested content, DefaultContentIntLoc (if not, DefaultContentIntLoc) may be used. To enable the client to request a specific fragment of content, the following parameters a) and b) are defined in the query part (of the request in operation 140):

a) “fragno”: Order value of the fragment in the interval

b) “fragti”: Start time of the fragment in the interval

For example, a request URI may be “HTTP://server.com/file.mp4?fragno=5.”

2) Distributed Scenario

In the distributed scenario, the metadata provided from the server to the client may include general content information 310, general interval information 320, and QoS information 330.

In addition to the above parameters, the following QoS-related parameters a) through c) are defined in the query part (of the request in operation 140) to enable the client to request an appropriate alternative:

a) “alter”: Order value of an alternative. Based on the order value of the alternative, the alternative may appear in the QoS information.

b) “oper1”, “oper2”, . . . , and “operN”: “operi” carries a value of an i^(th) adaptation operation that appears in the QoS information.

c) “res1”, “res2”, . . . , “resN”: “resi” carries a value of an i^(th) resource that appears in the QoS information.

Only one of the above three options may be used in a single request.

With typical adaptation operators and resource types, specific parameter names for better intelligibility and interoperability may be defined.

Adaptation operators are as the following a) through e).

a) audiolayers: indicates the number of scalable audio layers to be discarded.

b) temporallayers: indicates the number of temporal layers of scalable video to be discarded.

c) spatiallayers: indicates the number of spatial layers of scalable video to be discarded.

d) qualitylayers: indicates the number of quality layers of scalable video to be discarded.

e) prioritylayers: indicates the number of priority layers of scalable video to be discarded.

Resource types are as the following a) through d).

a) bitrate: indicates the average bitrate (in Kbps) of the requested alternative.

b) vertresolution: indicates the vertical resolution of the requested alternative.

c) horiresolution: indicates the horizontal resolution of the requested alternative.

d) framerate: indicates the framerate of the requested alternative.

Using the pre-defined parameters, an example of a request URI based on the bitrate may be “http://server.com/file.mp4?fragno=5&bitrate=550.”

3) Client-Based Scenario

In the client-based scenario, the metadata provided from the server to the client may include general content, general interval information, QoS information, and mapping information.

The QoS-related parameters used in the request may be indicated by a ReqQoSPara part of QoSInfo metadata. For example, when RefIndex of ReqQoSPara is 0 or null, the “alter” parameter may be used instead of other options.

When ReqQoSPara is not present in the QoSInfo metadata, the QoS-related parameters may not be used. Alternatives in this case may be implied by locations of MappingInfo.

A URI of content may be derived from rich description of MappingInfo. When content/program is conveyed in an MPEG-2 TS, one or more PIDs may be used to locate the content in the stream.

When additional information for detecting fragment boundaries are provided, the following parameters 1) through 3) for the query part (of the request in operation 140) may be used.

1) For an MPEG-2 TS boundary, Appearance, PCR_PID, PCR_base, PCR_ext, Media_PID, and Media_Offset

2) For an ISO media file boundary, SequenceNo

3) For a file considered as a raw byte-sequence, Start and End Semantics of the above parameters may be provided in semantics of a FragBoundaries element.

Start-End pairs may be used by a range header of an HTTP request message. For example, if {(Start=0, End=99); (Start=200, End=299)}, the header may be “Range: bytes=0-99,200-299.”

Hereinafter, syntax representation in an XML format will be described. Representations of the above syntax elements may be provided in the XML format. Semantics of each element may be traced back in the above Tables 1 through 7.

Several elements may be extensions of several types defined in an MPEG-21 DIA. Several few elements may take several types defined in the MPEG-21 DIA.

The following Table 8 shows syntax representation of HTTPStreamingType in the XML format.

TABLE 8   <complexType name=“HTTPStreamingType”>  <complexContent>   <extension base=“dia:DIADescriptionType”>    <sequence>     <element name=“GeneralInfo” type=“GeneralInfoType”     minOccurs=“0”/>     <choice minOccurs=“0” maxOccurs=“unbounded”>      <element name=“IntervalsRef”      type=“IntervalsRefType”/>      <element name=“Interval” type=“IntervalType”/>     </choice>   </sequence> </complexContent> </complexType>

The following Table 9 shows syntax representation of GeneralInfoType in the XML format.

TABLE 9   <complexType name=“GeneralInfoType”>  <complexContent>   <extension base=“dia:DIADescriptionType”>    <sequence>     <element name=“TimeScale” type=“integer”     minOccurs=“0”/>     <element name=“LiveStartTime” type=“dateTime”     minOccurs=“0”/>     <element name=“Duration” type=“integer”     minOccurs=“0”/>     <element name=“DefaultIntDuration” type=“integer”     minOccurs=“0”/>     <element name=“MinUpdateTime” type=“integer”     minOccurs=“0”/>     <element name=“ConsistentQoSInfo” type=“boolean”     minOccurs=“0”/>     <element name=“DefaultContentLoc” type=“anyURI”     minOccurs=“0”/>    </sequence>   </extension>  </complexContent> </complexType>

The following Table 10 shows syntax representation of IntervalRefType in the XML format.

TABLE 10   <complexType name=“IntervalsRefType”>  <complexContent>   <extension base=“dia:ReferenceType”>    <sequence>     <element name=“AvaliableTime” type=“integer”     minOccurs=“0”/>    </sequence>    <attribute name=“startTime” type=“xs:duration”    use=“optional”/>   </extension>  </complexContent> </complexType>

The following Table 11 shows syntax representation of IntervalType in the XML format.

TABLE 11 <complexType name=“IntervalType”>  <complexContent>   <extension base=“dia:DIADescriptionType”>    <sequence>     <element name=“IntervalInfo” type=“IntervalInfoType”     minOccurs=“0”/>     <choice minOccurs=“0”>      <element name=“QoSInfo” type=“QoSInfoType”/>      <element name=“QoSInfoRef” type=“dia:ReferenceType”/>     </choice>     <choice minOccurs=“0”>      <element name=“MappingInfo” type=“MappingInfoType”/>      <element name=“MappingInfoRef”      type=“dia:ReferenceType”/>     </choice>     <element name=“PreviousIntervalsRef” type=“IntervalsRefType” minOccurs=“0”/>     <element name=“NextIntervalsRef” type=“IntervalsRefType” minOccurs=“0”/>    </sequence>   </extension>  </complexContent> </complexType>

The following Table 12 shows syntax representation of IntervalInfoType in the XML format.

TABLE 12 <complexType name=“IntervalInfoType”>  <sequence>   <element name=“TimeScale” type=“integer” minOccurs=“0”/>   <element name=“StartTime” type=“dateTime” minOccurs=“0”/>   <element name=“Duration” type=“integer” minOccurs=“0”/>   <element name=“DefaultFragDuration” type=“integer”   minOccurs=“0”/>   <element name=“DefaultContentIntLoc” type=“anyURI”   minOccurs=“0”/>   <element name=“Last” type=“boolean” minOccurs=“0”/>  </sequence> </complexType>

The following Table 13 shows syntax representations of ISOFileBoundaryType and ByteRangesType in the XML format.

TABLE 13   <complexType name=“ISOFileBoundaryType”>  <sequence>   <element name=“SequenceNo” type=“integer” maxOccurs=   “unbounded”/>  </sequence> </complexType> <complexType name=“ByteRangesType”>  <sequence maxOccurs=“unbounded”>   <element name=“Start” type=“integer”/>   <element name=“End” type=“integer”/>   <element name=“Media_PID” type=“integer”   minOccurs=“0”/>  </sequence> </complexType>

Hereinafter, syntax representation in an MP4 pseudo-code format will be described. Representation of the above syntax elements may be provided in the MP4 pseudo-code format.

The following Table 14 shows syntax representation of HTTPStreamingBox in the MP4 pseudo-code format.

TABLE 14 HTTPStreamingBox    Box Type: ‘htps’  Container: Signaling file  Mandatory: Yes  Quantity: One   Aligned(8) class HTTPStreamingBox extends Box(‘htps’) {   }

Hereinafter, several other options of PeriodsRef element will be described.

XInclude may be a World Wide Web Consortium (W3C) technology that provides an inclusion mechanism used to merge XML documents.

The above PeriodsRef and XInclude may be similar in using any URI type (with the Location element and href attribute) to refer to a resource/description. However, there are major differences between the above two approaches.

XInclude may be used to merge XML documents. In other words, the merged documents may need to be obtained before being optionally further processed. Conversely, PeriodsRef may be used to refer to past or future periods. The past or future periods may not always need to be merged. The intention of PeriodsRef may be to allow a user to retrieve appropriate period information only when the user wants.

In association with specific attributes/elements, startTime and availableTime of PeriodsRef may be unique for retrieval of period information. Among the attributes/elements of XInclude, “fallback” and “xpointer” may be used to improve functionality of PeriodsRef, while “parse”, “encoding”, “accept”, and “accept-language” may be unnecessary for PeriodsRef.

Based on the above description, two additional options for referencing periods may be proposed: 1) enhanced PeriodsRef, and 2) XInclude-extending PeriodsRef.

1) Enhanced PeriodsRef: enables enhancement of existing PeriodsRef by fallback element and xpointer attribute of XInclude. The option may have an advantage of simplicity in syntax and processing. The syntax of modified PeriodsRef may be provided in Table 15 below.

2) XInclude-extending PeriodsRef: enables building of PeriodsRef by simply extending XInclude with startTime and availableTime attributes. The operation may have an advantage of the use of standard XInclude. To avoid always merging documents initially, the semantics of PeriodsRef may need to mandate that “clients are allowed to decide whether merging needs to be completed.” The syntax of PeriodsRef may be provided in Table 16 below.

In the above syntax, an ids attribute may be added to indicate ids of referenced Periods used in the current media presentation. Additionally, to have consistency with the href attribute of XInclude, the Location element may be changed to an optional location attribute.

TABLE 15 <xs:complexType name=“PeriodsRefType”>  <xs:choice minOccurs=“0” maxOccurs=“unbounded”>   <xs:element minOccurs=“0” maxOccurs=“unbounded” name=“fallback” type=“fallbackType”/>   <xs:any namespace=“##other” processContents=“lax” minOccurs=“0” maxOccurs=“unbounded”/>  </xs:choice>  <xs:attribute name=“ids” type=“xs:string”/>  <xs:attribute name=“location” type=“xs:anyURI”/>  <xs:attribute name=“xpointer” type=“xs:string”/>  <xs:attribute name=“startTime” type=“xs:duration”/>  <xs:attribute name=“availableTime” type=“xs:duration”/>  <xs:anyAttribute namespace=“##other” processContents=“lax”/> </xs:complexType> <xs:complexType name=“fallbackType”>  <xs:choice minOccurs=“0” maxOccurs=“unbounded”>   <xs:element name=“PeriodsRef” type=“PeriodsRefType”/>   <xs:any namespace=“##other” processContents=“lax”/>  </xs:choice>  <xs:anyAttribute namespace=“##other” processContents=“lax” /> >/xs:complexType>

TABLE 16 <xs:schema ...  xmlns:xi=“http://www.w3.org/2001/XInclude” ... <xs:complexType name=“PeriodsRefType”>  <xs:complexContent>   <xs:extension base=“xi:includeType”>    <xs:attribute name=“ids” type=“xs:string”/>    <xs:attribute name=“startTime” type=“xs:duration”/>    <xs:attribute name=“availableTime” type=“xs:duration”/>    <xs:anyAttribute namespace=“##other” processContents=“lax”/>   </xs:extension>  </xs:complexContent> </xs:complexType>

The semantics of the above elements/attributes may be provided as shown in Table 17.

TABLE 17 Type Element or (Attribute Attribute Name or Element) Cardinality Optionality Description MPD E 1 M Describes a root element that carries a Media Presentation Description (MPD) for a Media Presentation. . . . Period E 1 . . . N O  Provides information of Period. PeriodsRef E 1 . . . N O  Provides reference to description containing one or more instances of Period element. One or more instances of Period element represent a sequence of consecution Period(s). The information of Period may be either included as an instance of Period element or referenced by PeriodsRef element. ids A O. Provides id(s) of referenced Period(s). When multiple consecutive Periods are referenced, the id's conveyed by this string are separated by semicolon. locatoin A O. Provides reference to description of Period(s). xpointer A O. Provides an XPointer to identify a portion of the referenced description. If xpointer attribute is absent, location attribute needs to be present. startTime A 0 . . . 1 O. Indicates the start time of the referenced sequence of Periods, relative to the start time of content. StartTime element may help a client to determine whether referenced information needs to be retrieved. availableTime A 0 . . . 1 O. Indicates the time the description of referenced Period(s) is available. The time is the relative time from the start time of content. If availableTime attribute is absent, the description is already available.

Hereinafter, Period Timeline will be described.

Each period may have a start attribute indicating a start time of a period. However, the above approach may not be flexible in modifying a timeline of periods.

For example, to insert an advertisement period into an MPD for VOD, start times of all periods after the inserted period need to be modified. Furthermore, when the same advertisement period is played repeatedly (for example, every 1 hour), the period may be continuously inserted. In the same manner, when one or more periods are removed from an MPD, start times of remaining periods after periods are removed in space time may be modified.

In the embodiment, for flexibility of period management, the following modifications may be proposed:

1) Add a new attribute called “duration” to a Period

2) Change a current start attribute of a Period to optional

3) Add a new element called PeriodTimeline to the MPD type

The PeriodTimeline element may provide information about presentation of periods based on a timeline. Semantics and syntax of the PeriodTimeline element may be provided in Tables 18 through 20 below.

Using PeriodTimeline, description of a Period may be independent of a presentation time. Accordingly, a Period may be reused (fully or partially) in the same media presentation or in another media presentation. To modify the presentation time, only the Period Timeline needs to be changed.

In addition, the PartialPlay element may allow (re)play of one or more parts of a Period. For example, after an advertisement Period is presented, a part of the advertisement Period (denoted by beginning and ending) may be occasionally repeated during the whole session.

The PeriodTimeline element may impose an explicit timeline of Periods. Without the PeriodTimeline element, the implicit timeline of Periods may be inferred from the ordered sequence of Periods. To support the replay of a Period in the case of implicit timeline, the PartialPlay element may also be provided as a child element of the Period element.

TABLE 18 Type Element or (Attribute Attribute Name or Element) Cardinality Optionality Description MPD E 1 M Describes a root element that carries a Media Presentation Description (MPD) for a Media Presentation. . . . PeriodTimeline E 0 . . . 1 O  Provides the presentation timeline of Periods of the Media Presentation. PeriodsTime E 1 . . . N O  Provides time information for presenting Period. id A O. Indicates an id of Period of the Media Presentation. This value is equal to the value of the id attribute of Period, if the id attribute of Period is present. If no id attributes are present, this value is equal to the appearance order of Period in the MPD. start A O. Provides accurate start time of Period relative to the value of the attribute availabilityStart time of the Media Presentation. The start attribute overrides start attribute of corresponding Period (i.e., an instance of Period element). The start attribute may be present for the first Period of the timeline. For other Periods, if information about presentation duration of previous Periods is available, this value may be deduced and the attribute may be absent. PartialPlay E 0 . . . N O. Provides information for presenting a (temporal) part of Period. beginning A O. Indicates a beginning point of a part of Period. This time value is relative to the beginning of the Period. ending A O. Indicates an ending point of a part of Period. This time value is relative to the beginning of the Period. Period E 1 . . . N M Provides information of Period. start A O  Indicates a start time of Period. id A O  Indicates an ID of Period. When the Period is a (partial) repeat of another Period, the value of id attribute is equal to an ID or an appearance order of a referred Period. duration A O. Indicates duration of Period. If start attribute is absent, duration attribute may be present. Also, for the last Period of a Media Presentation, if availabilityEndTime and SegmentTimeline are not available, the duration attribute of the Period may be present. PartialPlay E 0 . . . N O. Provides information for presenting a (temporal) part of Period. beginning A O. Indicates a beginning point of a part of Period. This time value is relative to the beginning of the Period. ending A O. Indicates an ending point of a part of Period. This time value is relative to the beginning of the Period. Representation E 0 . . . N Representation element contains description of Representation.

TABLE 19 <?xml version=“1.0” encoding=“UTF-8”?> <xs:schema targetNamespace=“urn:3GPP:ns:PSS:AdaptiveHTTPStreamingMPD:2009”  attributeFormDefault=“unqualified”  elementFormDefault=“qualified”  xmlns:xs=“http://www.w3.org/2001/XMLSchema”  xmlns=“urn:3GPP:ns:PSS:AdaptiveHTTPStreamingMPD:2009”> ... <!-- MPD Type --> <xs:complexType name=“MPDtype”>  <xs:sequence>   <xs:element minOccurs=“0” name=“ProgramInformation” type=“ProgramInformationType”/>   <xs:element minOccurs=“0” name=“PeriodTimeline” type=“PeriodTimelineType”/>   <xs:element maxOccurs=“unbounded” name=“Period” type=“PeriodType”/>   <xs:any namespace=“##other” processContents=“lax” minOccurs=“0” maxOccurs=“unbounded”/>  </xs:sequence>  <xs:attribute default=“OnDemand” name=“type” type=“PresentationType”/>  <xs:attribute name=“availabilityStartTime” type=“xs:dateTime”/>  <xs:attribute name=“availabilityEndTime” type=“xs:dateTime”/>  <xs:attribute name=“mediaPresentationDuration” type=“xs:duration”/>  <xs:attribute name=“minimumUpdatePeriodMPD” type=“xs:duration”/>  <xs:attribute name=“minBufferTime” type=“xs:duration” use=“required”/>  <xs:attribute name=“timeShiftBufferDepth” type=“xs:duration”/>  <xs:attribute name=“baseUrl” type=“xs:anyURI”/>  <xs:anyAttribute namespace=“##other” processContents=“lax”/> </xs:complexType> <!-- Type of presentation - live or on-demand --> <xs:simpleType name=“PresentationType”>  <xs:restriction base=“xs:string”>   <xs:enumeration value=“OnDemand”/>   <xs:enumeration value=“Live”/>  </xs:restriction> </xs:simpleType> <!-- Period Timeline --> <xs:complexType name=“PeriodTimelineType”>  <xs:sequence>   <xs:element maxOccurs=“unbounded” name=“PeriodTime” type=“PeriodTimeType”/>   <xs:any namespace=“##other” processContents=“lax” minOccurs=“0” maxOccurs=“unbounded”/>  </xs:sequence>  <xs:anyAttribute namespace=“##other” processContents=“lax”/> </xs:complexType>

TABLE 20 <xs:complexType name=“PeriodTimeType”>  <xs:sequence>   <xs:element minOccurs=“0” maxOccurs=“unbounded” name=“PartialPlay” type=“PartialPlayType”/>   <xs:any namespace=“##other” processContents=“lax” minOccurs=“0” maxOccurs=“unbounded”/>  </xs:sequence>  <xs:attribute name=“id” type=“xs:string” use=“required”/>  <xs:attribute name=“start” type=“xs:duration”/>  <xs:anyAttribute namespace=“##other” processContents=“lax”/> </xs:complexType> <xs:complexType name=“PartialPlayType”>  <xs:sequence>   <xs:any namespace=“##other” processContents=“lax” minOccurs=“0” maxOccurs=“unbounded”/>  </xs:sequence>  <xs:attribute name=“beginning” type=“xs:duration”/>  <xs:attribute name=“ending” type=“xs:duration”/>  <xs:anyAttribute namespace=“##other” processContents=“lax”/> </xs:complexType> <!-- Period of a presentation --> <xs:complexType name=“PeriodType”>  <xs:sequence>  <xs:element minOccurs=“0” name=“SegmentInfoDefault” type=“SegmentInfoDefaultType”/>   <xs:element minOccurs=“0” maxOccurs=“unbounded” name=“PartialPlay” type=“PartialPlayType”/>   <xs:element minOccurs=“0” maxOccurs=“unbounded” name=“Representation” type=“RepresentationType”/>   <xs:any namespace=“##other” processContents=“lax” minOccurs=“0” maxOccurs=“unbounded”/>  </xs:sequence>  <xs:attribute name=“start” type=“xs:duration”/>  <xs:attribute name=“duration” type=“xs:duration”/>  <xs:attribute name=“id” type=“xs:string”/>  <xs:attribute default=“false” name=“segmentAlignmentFlag” type=“xs:boolean”/>  <xs:attribute default=“false” name=“bitStreamSwitchingFlag” type=“xs:boolean”/>  <xs:anyAttribute namespace=“##other” processContents=“lax”/> </xs:complexType> ... ... </xs:schema>

As no repeated Period needs to contain representation description again, the minimum number of Representation instances may be changed to 0.

Rather than using the id attribute directly, a special attribute indicating an id value of a previous Period to be repeated may be used.

FIG. 5 is a diagram illustrating a configuration of a client according to an embodiment of the present invention.

The client 100 includes an access engine 510, and a media engine 520.

The access engine 510 may be a DASH access engine.

The access engine 510 may receive metadata (for example, an MPD) from the server 110.

The access engine 510 may form requests, and may issue the formed requests to the server 110.

The access engine 510 may receive content (for example, segments or parts of the segments) from the server 110.

The access engine 510 may provide the content to the media engine 520.

An output of the access engine 510 may include media (or a part of the media) of an MPEG container (for example, an ISO/IEC 14492-12 ISO base media file format, or an ISO/IEC 13818-2 MPEG-2 TS). Additionally, the output of the access engine 510 may include timing information used to map internal timing of the media to a timeline of a media presentation.

The media engine 520 may play back the provided content. Specifically, the media engine 520 may output the media using the media and the timing information that are output from the access engine 510.

Technical information according to the embodiments of the present invention described above with reference to FIGS. 1 through 4 may equally be applied to the present embodiment. Accordingly, further description thereof will be omitted.

The method according to the above-described embodiments of the present invention may be recorded in computer-readable media including program instructions to implement various operations embodied by a computer. The media may also include, alone or in combination with the program instructions, data files, data structures, and the like. The program instructions recorded on the media may be those specially designed and constructed for the purposes of the embodiments, or they may be of the kind well-known and available to those having skill in the computer software arts. Examples of computer-readable media include magnetic media such as hard disks, floppy disks, and magnetic tape; optical media such as CD ROM disks and DVDs; magneto-optical media such as floptical disks; and hardware devices that are specially configured to store and perform program instructions, such as read-only memory (ROM), random access memory (RAM), flash memory, and the like. Examples of program instructions include both machine code, such as produced by a compiler, and files containing higher level code that may be executed by the computer using an interpreter. The described hardware devices may be configured to act as one or more software modules in order to perform the operations of the above-described embodiments of the present invention, or vice versa.

Although a few embodiments of the present invention have been shown and described, the present invention is not limited to the described embodiments. Instead, it would be appreciated by those skilled in the art that changes may be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents. 

The invention claimed is:
 1. A terminal providing media for a media presentation, comprising: a processor; memory; program instructions stored in the memory and executable by the processor, the program instructions comprising: an access engine to receive metadata of the media, to receive segments of the media based on information provided by the metadata, and to decode data of the media that is included in the segments, the metadata comprising one or more periods; and a media engine to receive the data of the media from the access engine, and to output the media, wherein each of the periods comprises one or more representations of the media, wherein each of the representations starts from a beginning point of a period and continues to an ending point of the period, and comprises one or more segments, wherein each one of the periods is defined by a period element which includes a duration attribute indicating a duration of a period, and wherein the metadata further comprises a period timeline element which includes a presentation timeline of periods of the media presentation, wherein the each of the periods include a partial play attribute in the period timeline, and wherein the partial play attribute allows portions of the each periods to be replayed one or more times.
 2. The terminal of claim 1, wherein the metadata is a Media Presentation Description (MPD) of the media.
 3. The terminal of claim 1, wherein the period element comprises a start attribute indicating a start time of a period.
 4. The terminal of claim 1, wherein the duration attribute specifies a start time of a period subsequent to the period.
 5. A method for providing media for a media presentation, the method comprising: receiving metadata of media, the metadata comprising one or more periods; accessing segments of the media based on information provided by the metadata; and decoding and rendering data of the media that is included in the segments, wherein each of the periods comprises one or more representations of the media, wherein each of the representations starts from a beginning point of a period and continues to an ending point of the period, and comprises one or more segments, wherein each of the periods is defined by a period element, wherein the period element comprises a duration attribute indicating a duration of a period, and wherein the metadata further comprises a period timeline element which includes a presentation timeline of periods of the media presentation, wherein the each of the periods include a partial play attribute in the period timeline, and wherein the partial play attribute allows portions of the each periods to be replayed one or more times.
 6. The method of claim 5, wherein the duration attribute specifies a start time of a period subsequent to the period.
 7. The terminal of claim 1, wherein a presentation time of the media presentation is modified by changing only the presentation timeline.
 8. The method of claim 5, wherein a presentation time of the media presentation is modified by changing only the presentation timeline. 